<footer>
	<div class="center">
		<section id="meta">
			<div>
				<h2>Copyright &copy; 2014 <a href="http://www.chipgames.net" title="Chip's Games">ChipGames.net</a>. All rights reserved.</h2>
				<h4>{$footer_info}</h4>
			</div>
			<div>
				<a href="https://www.facebook.com/game2f.net" target="_blank" title="Chip's Games on Facebook">Chip's Games on Facebook</a>
				<a href="https://twitter.com/TrieuIV" target="_blank" title="Chip's Games on Twitter">Chip's Games on Twitter</a>
			</div>	
		</section>
	</div>
</footer>
<!-- Javascript -->
{if isset($play_now)}
<script type="text/javascript" src="/static/js/rate.js"></script>
<script type="text/javascript" src="/static/js/social-likes.min.js"></script>
{/if}
<script type="text/javascript" src="/static/js/topmenu.js"></script>
<script type="text/javascript">
$('form#search_games').submit(function(){
	var keyword = $('input#search-input').val();
	keyword = keyword.replace(/ /g, '-');
	if (keyword)
		window.location.href = '/search/' + keyword;
	return false;
});
</script>
{if !$is_mobile}
	{if isset($play_now)}
		{if $game_type == 'swf' or  $game_type == 'dcr'}
			{if $game_type == 'swf'}<script type="text/javascript" src="/static/js/swfobject.js"></script>{/if}
			<script type="text/javascript">
			swfobject.registerObject("gameObject", "9.0.0", "/static/js/expressInstall.swf");
			$(function() {
			    $("#button-plus").click(function() {
			    	var width = $("#mygame").width();
			    	if (width <= 900) {
				        $("#mygame").animate({
				            width: '+=30px',
				            height:'+=30px'
				        }, 100);
				    }
				    return false;
			    });
			    $("#button-less").click(function() {
			    	var width = $("#mygame").width();
			    	if (width > {$row[0]['width']}) {
				        $("#mygame").animate({
				            width: '-=30px',
				            height:'-=30px'
				        }, 100);
				    }
				    return false;
			    });
			    $("#button-reset").click(function() {
			        $("#mygame").animate({
			            width: '{$row[0]['width']}px',
			            height:'{$row[0]['height']}px'
			        }, 100);
			        return false;
			    });
			});
			</script>
		{/if}
	{/if}
{/if}
</body>
</html>